import $Element from "@/core/Element"
import { DOMcreateElement } from "@/core/jsxFactory"

import "./plugin.less";
export default abstract class DesignPlugin extends $Element {
    private container: $Element;
    protected pluginName: string = "unnamed";
    private titleElement: $Element;
    constructor() {
        super(<div className="plugin-item">
            <div className="title"></div>
        </div>);
        this.container = new $Element(".style-plugin-container");
        this.container.appendChild(this);
        this.titleElement = new $Element(".title");
    }

}